package com.gdyx.app.web.svc;

import com.gdyx.app.web.model.MpsDeptRole;

import java.util.List;
import java.util.Map;

/**
 * Created by Y_Coffee on 2017/8/3.
 */
public interface MpsDeptRoleSvc {
   void save(MpsDeptRole o);

   void saveOrUpdate(MpsDeptRole o);

   void delete(String id);

   void update(MpsDeptRole o);

   List<MpsDeptRole> findDeptRoleByRid(String id);

   List<MpsDeptRole> findDeptRoleByDid(String id);

   void deleteByDid(String id);

   void deleteByRid(String id);

   List<MpsDeptRole> findDeptRoles(Map<String, Object> map);

   void setDept(String ids,String roleId,String Ownerid);
}
